package xyz.bali16.module.mute.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
@ApiModel("添加禁言参数")
public class MuteAddParam {


    @ApiModelProperty(name = "userId", value = "被禁言用户Id", required = true)
    @NotNull(message = "禁言Id不能为空")
    private String userId;
    @ApiModelProperty(name = "moderatorId", value = "禁言操作者Id", required = true)
    @NotNull(message = "禁言操作者Id不能为空")
    private String moderatorId;

    @ApiModelProperty(name = "gmtCreated", value = "禁言开始时间", required = false)
    private String gmtCreated;
    @ApiModelProperty(name = "gmtUpdated", value = "禁言结束时间", required = true)
    @NotNull(message = "禁言结束时间不能为空")
    private String gmtUpdated;
    @ApiModelProperty(name = "reason", value = "禁言原因", required = false)
    private String reason;

}
